package com.qingfeng.medical.biz.message.domain.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.qingfeng.medical.base.domain.entity.BaseEntity;
import com.qingfeng.medical.biz.message.domain.enums.CustomerTypeEnum;
import com.qingfeng.medical.biz.message.domain.enums.ReadStatusEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;

/**
 * 病情咨询表
 *
 * @author 清风学Java
 * @date 2023-04-14 14:47:16
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ToString(callSuper = true)
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(description = "病情咨询表")
@TableName("disease_consultation")
public class DiseaseConsultation extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "用户id")
    private Long userId;

    @ApiModelProperty(value = "医生id")
    private Long doctorId;

    @ApiModelProperty(value = "用户类型 （患者，医生  枚举设置）")
    private CustomerTypeEnum customerType;

    @ApiModelProperty(value = "咨询/回复内容")
    private String newsContent;

    @ApiModelProperty(value = "已读状态（默认未读）")
    private ReadStatusEnum readStatus;
}
